
<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">线路名</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="name"  lay-verify="password" placeholder="请输入" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">出发地</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="start"  lay-verify="name" placeholder="请输入" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">目的地</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="end"  lay-verify="name" placeholder="请输入" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">费用</label>
        <div class="layui-input-inline">
            <div class="layui-input-inline">
                <input type="text" name="money" id="money" lay-verify="money" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">交通工具</label>
        <div class="layui-input-inline">
            <div class="layui-input-inline">
                <select name="trans">
                    <option value="火车" {{ d.params.role === '火车' ? 'selected' : '' }}>火车</option>
                    <option value="飞机" {{ d.params.role === '飞机' ? 'selected' : '' }}>飞机</option>
                    <option value="轮船" {{ d.params.role === '轮船' ? 'selected' : '' }}>轮船</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script>
    layui.use(['admin', 'form'], function(){
        var $ = layui.$
            ,form = layui.form;

    });
</script>